package com.gqz.equip.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * 新能源-物资-出入库工单表
 */


@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "TEnWzCrkOrderVo")
public class TEnWzCrkOrderVo implements Serializable {


    @SchemaProperty(name = "单据编码")
    private String id;

    @SchemaProperty(name = "单据日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "djrq", format = "yyyy-MM-dd HH:mm:ss")
    private Date djrq;

    @SchemaProperty(name = "单据日期至")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "djrq_to", format = "yyyy-MM-dd HH:mm:ss")
    private Date djrq_to;

    @SchemaProperty(name = "仓库名称")
    private String ckmc;

    @SchemaProperty(name = "仓库编码")
    private String ckbm;

    @SchemaProperty(name = "所属单位编码")
    private String ssdwbm;

    @SchemaProperty(name = "所属单位名称")
    private String ssdwmc;

    @SchemaProperty(name = "创建人")
    private String cjr;

    @SchemaProperty(name = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "cjTime", format = "yyyy-MM-dd HH:mm:ss")
    private Date cjTime;

    @SchemaProperty(name = "类型 0 入库 1出库")
    private String type;

    @SchemaProperty(name = "是否删除 0否1是")
    private String sfsc;

    @SchemaProperty(name = "审核意见")
    private String shyj;

    @SchemaProperty(name = "审核时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "shTime", format = "yyyy-MM-dd HH:mm:ss")
    private Date shTime;

    @SchemaProperty(name = "出入库数量")
    private String sl;

    @SchemaProperty(name = "修改时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(name = "updateTime", format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @SchemaProperty(name = "修改人")
    private String updatePerson;

    @SchemaProperty(name = "单据审核状态编码")
    private String djshzt;

    @SchemaProperty(name = "单据审核状态名称")
    private String djshztmc;

    @SchemaProperty(name = "审核人")
    private String shPerson;

    @SchemaProperty(name = "审核结论编码")
    private String shjlbm;

    @SchemaProperty(name = "审核结论名称")
    private String shjlmc;

    //查询字段
    @SchemaProperty(name = "设备编码")
    private String sbbm;
    //查询字段
    @SchemaProperty(name = "设备名称")
    private String sbmc;
    //查询字段
    @SchemaProperty(name = "运行状态编码")
    private String yxzt;

    @SchemaProperty(name = "出厂编码")
    private String ccbm;

    @SchemaProperty(name = "设备状态编码")
    private String sbztbm;

    @SchemaProperty(name = "设备类型编码")
    private String sblxbm;

    @SchemaProperty(name = "创建人id")
    private String cjrbm;

}
